package com.xxl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xxl
 * @date 2023/3/19
 */
@RestController
public class ControllerExample {
    @Autowired
    ServiceExample example;

    @GetMapping("hello")
    public String hello() {
        example.hello();
        return "ok";
    }
}
